<div class="top-seller">
    <div class="top">
        <div class="left"><label>Shop tiêu biểu</label></div>
        <div class="body"></div>
        <div class="right"></div>
    </div>
    <div class="main">
        <div class="mask">
            <ul id="box-top-seller">

                <?
                $s = 0;
                $rs = $db->query("SELECT  * FROM " . $prefix . "nguoidung WHERE u_capdo != 0 AND u_banned = 1 order by u_capdo DESC LIMIT 3");
                while ($row = $db->fetch_array($rs)) {
                    $u_tenshop = stripslashes($row[u_tenshop]);
                    $u_name = stripslashes($row[u_name]);
                    $u_id = $row[u_id];
                    $u_avatar = $row[u_avatar];
                    $u_tinhthanh = layTinhThanh($row[u_tinhthanh]);
                    $s++;
                    ?>

                    <li <? if ($s % 2 == 0) { ?> class="odd" <? }?>>

                        <p class="picture">
                            <a title="<?=$u_name?>" href="<?=$root?>/shop-<?=$u_id?>/<?=$u_name?>"><img
                                    title="<?=$u_name?>" src="<?=$root?>/<?=$PathThumbFile . $u_avatar?>"
                                    alt="<?=$u_name?>" onerror="this.src='<?=$root?>/img/nopic.jpg';"/></a>
                        </p>

                        <div class="info">

                            <p><a class="link" title="<?=$u_name?>"
                                  href="<?=$root?>/shop-<?=$u_id?>/<?=$u_name?>"><?=$u_tenshop?></a></p>

                            <p>Khu vực: <?=$u_tinhthanh?></p>

                            <p><label class="seller">Số sản phẩm : <?=loadSoSanPhamTheoUser($u_id)?></label></p>
                        </div>

                    </li>
                    <? } ?>
            </ul>
        </div>
    </div>
    <div class="bottom">
        <div class="right">
            <div class="body"></div>
        </div>
    </div>
</div>